﻿using System;

namespace Aj.Core.Control
{
    /// <summary>
    /// 控件的设计运行时
    /// </summary>
    internal class PageDesign : System.Web.UI.Design.ControlDesigner
    {
        public override bool AllowResize
        {
            get
            {
                return false;
            }
        }
        public override string GetDesignTimeHtml()
        {
            try
            {
                return ((Pagination)Component).GetDesignHtml();
            }
            catch (Exception er)
            {
                return GetErrorDesignTimeHtml(er);
            }
        }
    }
}
